//
//  CommonProtocols.h
//  GameProject
//
//  Created by Blair Trusler on 01/09/2011.
//  Copyright 2011 Blair Trusler. All rights reserved.
//

#import "GameHeader.h"



typedef enum{ 
    kStateIdle,
    kStateWalkingDown,
    kStateWalkingUp,
    kStateWalkingLeft,
    kStateWalkingRight,
    
    kStateEnemyPatrol,
    kStateEnemyChase,
    
    kStateCollision,
    kStateWonBattle,
    kStateDead,
} CharacterStates;

typedef enum{ 
    kObjectTypeNone,
    kPlayerType,
    kPowerUpTypeHP,
    kPowerUpTypeMP,
    kEnemyType1, //rename from 1,2,3 to enemy type names (like Skeleton or something)
    kEnemyType2,  
    kEnemyType3,
    kEnemyType4,
    kEnemyType5,
} GameObjectType;



@protocol HUDDelegate
//-(void)createObjectOfType:(GameObjectType)objectType withHealth:(int)initialHealth atLocation:(CGPoint)spawnLocation withZValue:(int)ZValue;
-(void)createObjectOfType:(GameObjectType)objectType atLocation:(CGPoint)spawnLocation  withZValue:(int)ZValue;

@end